// 以下是业务服务器API地址
// 本机开发时使用
//  var WxApiRoot = 'http://192.168.10.182:8081/wx/';
var WxApiRoot = 'https://www.caryard.cn/wx/';
// var WxApiRoot = 'http://3o5xn937.dnat.tech/wx/';
// 局域网测试使用
// var WxApiRoot = 'http://192.168.1.3:8080/wx/';
// 云平台部署时使用
// var WxApiRoot = 'http://122.51.199.160:8080/wx/';
// 云平台上线时使用
//var WxApiRoot = 'http://47.104.28.83/car/wx/';

module.exports = {
  TokenCheckUrl: WxApiRoot + 'index/check', //测试数据接口

  IndexUrl: WxApiRoot + 'home/index', //首页数据接口
  PosterUrl: WxApiRoot + 'home/poster', //首页海报接口
  AboutUrl: WxApiRoot + 'home/about', //介绍信息

  AuthLoginByWeixin: WxApiRoot + 'auth/login_by_weixin', //微信登录
  AuthLoginByAccount: WxApiRoot + 'auth/login', //账号登录
  AuthLogout: WxApiRoot + 'auth/logout', //账号登出
  AuthRegister: WxApiRoot + 'auth/register', //账号注册
  AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
  AuthRegisterCaptcha: WxApiRoot + 'auth/regCaptcha', //验证码
  AuthBindPhone: WxApiRoot + 'auth/bindPhone', //绑定微信手机号
  AuthApplyAuth: WxApiRoot + 'auth/applyAuth', //商户认证

  SearchIndex: WxApiRoot + 'search/index', //搜索关键字
  SearchResult: WxApiRoot + 'search/result', //搜索结果
  SearchHelper: WxApiRoot + 'search/helper', //搜索帮助
  SearchClearHistory: WxApiRoot + 'search/clearhistory', //搜索历史清楚

  FeedbackAdd: WxApiRoot + 'feedback/submit', //添加反馈

  QualificationsMyList: WxApiRoot + 'qualifications/mylist', //我的商户资质审批信息
  QualificationsMyInfo: WxApiRoot + 'qualifications/myinfo', //我的商户资质信息
  QualificationsDetail: WxApiRoot + 'qualifications/detail', //我的商户资质详情信息
  CouuntTargetStatus: WxApiRoot + 'qualifications/couuntTargetStatus', //查询目标状态数量

  StorageUpload: WxApiRoot + 'storage/upload', //图片上传,

  UserIndex: WxApiRoot + 'user/index', //个人页面用户相关信息
  IssueList: WxApiRoot + 'issue/list', //帮助信息

  

  HerbSelectList: WxApiRoot + 'herb/selectList', //获取药品品类列表
  HerbGenericNameSelectList: WxApiRoot + 'herb/selectGenericNameList', //供选择的药品品类通用名列表
  HerbAuthGenericNameSelectList: WxApiRoot + 'herb/selectAuthGenericNameList', //供选择的药品品类通用名列表
  HerbAuthSelectList: WxApiRoot + 'herb/authSelectList', //根据用户类型获取药品品类列表
  SupplyList: WxApiRoot + 'supply/list', //获取药品供应列表
  MySupplyList: WxApiRoot + 'supply/myList', //获取药品供应列表
  SupplyDetail: WxApiRoot + 'supply/detail', //供应详情
  SupplySave: WxApiRoot + 'supply/save', //发布药品供应
  supplyDelete: WxApiRoot + 'supply/delete', //供应删除

  PurchaseHerbTotalList: WxApiRoot + 'purchase/herbTotalList', //获取药品合计采购列表
  PurchaseList: WxApiRoot + 'purchase/list', //获取药品采购列表
  PurchaseDetail: WxApiRoot + 'purchase/detail', //采购详情
  PurchaseAmountUpdate: WxApiRoot + 'purchase/amountUpdate', //收货数量修改
  PurchaseExtraList: WxApiRoot + 'purchase/extraList', //获取药品采购列表
  PurchaseExtraDetail: WxApiRoot + 'purchase/extraDetail', //采购详情

  WantBuyList: WxApiRoot + 'wantBuy/list',//获取求购列表
  WantBuySave: WxApiRoot + 'wantBuy/save',//发布求购
  WantBuyDetail: WxApiRoot + 'wantBuy/detail',//求购详情
  MyWantBuyList: WxApiRoot + 'wantBuy/myList',//获取求购列表
  wanBuyDelete: WxApiRoot + 'wantBuy/delete',//获取求购列表

  QuoteList: WxApiRoot + 'quote/list', //获取药品采购报价列表
  QuoteDetail: WxApiRoot + 'quote/detail', //采购报价详情
  QuoteSave: WxApiRoot + 'quote/save', //提交报价

  ReceiptList: WxApiRoot + 'receipt/list', //获取收据、检验单列表
  ReceiptDetail: WxApiRoot + 'receipt/detail', //收据、检验单详情

  SelectbrandList: WxApiRoot +'carBrand/selectbrandList',
  SelectSeriesList: WxApiRoot +'carBrand/selectSeriesList',
  SelectModelList: WxApiRoot +'carBrand/selectModelList',
 

  //测试模板消息ID
  // ApproveRequestSubscribeMessageTmplIds: ['jAcHCIghizz87A92zfpn0WzfR9t5eU42BakFlunzfpE'],
  // TipsRequestSubscribeMessageTmplIds: ['tEwiM8G0f0euPbixHixUPhe77uUXh6PBp-S1ufsWVUc'],
  // RequestSubscribeMessageTmplIds:['jAcHCIghizz87A92zfpn0WzfR9t5eU42BakFlunzfpE','tEwiM8G0f0euPbixHixUPhe77uUXh6PBp-S1ufsWVUc']
  //正式发布模板消息ID
  // ApproveRequestSubscribeMessageTmplIds: ['b8O1osprbUHIJOMPaxxwlKuaka-iKRkCnJAtEsnsJvU'],
  // TipsRequestSubscribeMessageTmplIds: ['TgpK2GI3l9TasWveFhiY6ps4jtYaGzj5ga1iFIBqCIo']
  RequestSubscribeMessageTmplIds:['b8O1osprbUHIJOMPaxxwlKuaka-iKRkCnJAtEsnsJvU','TgpK2GI3l9TasWveFhiY6uf-Qm456qzaFEZdFd7j1Hc']
};